<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\Route;

Route::get('/','index/Index/index');
Route::get('/about','index/Index/about');
Route::get('/contact','index/Index/contact');

Route::get('/product/detail/:id','index/Product/detail');
Route::get('/product','index/Product/index');
Route::get('/cases/detail/:id','index/Product/case_detail');
Route::get('/cases','index/Product/cases');


Route::get('/article/detail/:id','index/Article/detail');
Route::get('/article','index/Article/index');


Route::post('/message/save','index/Index/message');